//
//  NetWorkURLManager.swift
//  Pods
//
//  Created by HongPu on 2015/8/3.
//
//


let URL = [
    ["主业务":[
        ["线上环境": "a"],
        ["开发环境": "b"]
            ],],
    ["图片上传":[
        ["线上环境": "a"],
        ["开发环境": "b"]
        ]]
]

public struct NetWorkURLBusiness
{
    public let key: String
    public let arrayValue: Array<NetWorkURLEnvironment>
    public var index: Int
    
    public init(key: String, arrayValue: Array<NetWorkURLEnvironment>)
    {
        self.key = key
        self.arrayValue = arrayValue
        self.index = 0
    }
}

public struct NetWorkURLEnvironment
{
    public let key: String
    public let url: String
}


public class NetWorkURLManager
{
    private static var url = Array<NetWorkURLBusiness>()
    
    public static let mainURL = ""
    
    
//    public class func setURL(arrayURL: Array<Dictionary<String, Array<Dictionary<String, String>>>>)
//    {
//        NetWorkURLManager.url = arrayURL
//    }
//    
//    public class func setURLKey(arrayKey: Array<String>)
//    {
//        NetWorkURLManager.urlKey = arrayKey
//    }
//    
//    class func urlWithKey(key: String) -> String
//    {
//        return ""
//    }
}